/**
 * User: alesj
 * Date: 2005.6.13
 * Time: 12:55:05
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.alesj.newsfeed.web.object;

import java.io.Serializable;

import com.alesj.newsfeed.file.ByteAdapter;

public class FileUploadBean implements ByteAdapter, Serializable {

    private String name;
    private byte[] file;

    public byte[] getBytes() {
        return getFile();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setFile(byte[] file) {
        this.file = file;
    }

    public byte[] getFile() {
        return file;
    }

}
